home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
ued19c.zip
/
UED.DOC
< prev
next >
Wrap
Text File
|
1991-09-08
|
40KB
|
997 lines
Useful Editor (Version 1.9c) Documentation
==========================================
Features
~~~~~~~~
Useful Editor (Ued) is a small (about 35K), fast, ASCII editor that is
suitable for a wide variety of text manipulation tasks. Some of Ued's
features include:
- ability to edit up to 9 files in memory at once
- files as large as 1000 characters wide and 10,000 lines long
- file size is only limited by available memory
- split screen editing
- typeover and insert mode editing
- search and replace (both case sensitive and insensitive)
- cut and paste (three modes: line, range, and block)
- escape to DOS
- can load "piped" files
- wildcard expansion of command line arguments
- word wrap and paragraph reformat
- smart indentation
- easy to use consistent interface
- user configurable preferences
System Requirements
~~~~~~~~~~~~~~~~~~~
Ued runs on any IBM PC or compatible. Ued automatically determines
the type of video card installed and switches the card into 80 X 25
text mode when it starts up. The following video cards (or ones that
are compatible) are supported:
- Color Graphics Adapter (CGA)
- Monochrome Graphics Adapter (MGA)
- Hercules Graphics Adapter (HGA)
- Enhanced Graphics Adaptor (EGA)
- Video Graphics Array (VGA)
- Multi-Color Graphics Array (MCGA)
Any monitor that can display 80 X 25 text works with Ued. If you have
a color monitor and card, you can change the default colors (of black
and white) by running uedcfg.exe (see Configuring Ued). In addition
Ued supports a 43 line display on EGA systems and a 28 or 50 line
display on VGA systems.
Ued is very small and runs on systems with as little as 128K of
memory. Of course the more memory that you have, the larger the files
that you are able to edit.
Starting Up Ued
~~~~~~~~~~~~~~~
From the DOS prompt, type:
Ued <filename1> <filename2> ... <filename9> [/l]
then press the Enter key.
Each "filename" is either an ASCII text file that you want to edit or
the name of a file that you want to create. Up to 9 file names can be
specified on the command line when starting up Ued and can contain
wildcard characters. Each file is assigned to its own workspace.
Piping to Ued is allowed. For instance if you typed the command:
dir | Ued
A directory listing would be loaded into Ued with the name "PIPED".
You can also start up Ued with no files specified. In this case the
editor starts within an empty unnamed workspace.
The command line argument /l can be added when you are loading very
large files. Only a single file should be loaded if the /l option is
used.
Workspaces
~~~~~~~~~~
Files are loaded into Ued "workspaces". A workspace can be as much as
1,000 characters wide, and 10,000 lines deep. You can move the cursor
anywhere in the workspace to edit text. The "text window" follows the
cursor as you move about the workspace.
There are 9 workspaces (numbered 1-9) in Ued, each of which can hold a
single file. The F2 Workspace command is used to switch between work-
spaces.
Ued maintains one other workspace (workspace 0) which is used as a
"clipboard" when you Cut and Paste text.
Screen Layout
~~~~~~~~~~~~~
Ued uses the top 23 lines of the screen to display the text being
edited. Consider this to be a "window" (that is 80 columns wide and
23 lines deep) into the "text workspace". This window is bordered on
the top and sides by the edge of the screen, and bounded on the bottom
by an inverse line.
That inverse line is called the "status line". On the left edge of
the status line is a number (0-9) which indicates what workspace that
you are in. Beside it appears the name of the file that you are edit-
ing in that workspace. To the right side of the status line, the line
and column position of the cursor is displayed.
Below the status line are the command lines. All of the commands that
are currently available to you are displayed on these two lines.
The Cursor(s)
~~~~~~~~~~~~~
The "cursor" is a pointer within a workspace. Text can be added or
deleted here. In Ued the cursor appears as a solid inverted block
when you are in "insert mode", and a flashing underscore when you are
in "typeover mode".
When you start up Ued a cursor appears in the upper left hand corner
of the text window. This is your "active" cursor. In actual fact
there are two cursors in Ued. An "inactive" cursor is initially pos-
itioned there as well but not displayed.
When you move the active cursor, the inactive cursor remains where it
is. You can move the active cursor to the inactive cursor position by
using the "Flip" command (Ctrl-F). The position that you moved from
becomes the inactive cursor position. The inactive cursor can be used
as a "bookmark" in your text (a place that you want to get to quickly)
and also plays an important role in the F8 Split command.
Moving the Cursor
~~~~~~~~~~~~~~~~~
Moving the cursor around can be accomplished with the following keys.
In all cases, the text window is adjusted when necessary in order to
keep the cursor on the screen.
Up Arrow Moves the cursor up one line of text.
Down Arrow Moves the cursor down one line of text.
-> Moves the cursor right one character.
<- Moves the cursor left one character.
Home Moves the cursor to the first character on the current
line. If you are already on the first character, moves the
cursor to column 1.
End Moves the cursor one position past the last character on
the current line.
PgUp Moves the cursor up one screen of text.
PgDn Moves the cursor down one screen of text.
Additional cursor movement commands can be accessed by holding down
the "Ctrl" key (you will see the menu change when you do this) and
pressing one of these keys:
Ctrl -> Moves the cursor to the beginning of the next word. (A
word is considered to be a series of characters preceded
and followed by at least one space.)
Ctrl <- Moves the cursor to the beginning of the previous word.
Flip Moves the active cursor to the inactive cursor position.
The current cursor position becomes the inactive cursor.
Goto Line Prompts for a line number, then moves the cursor to the
line number entered. Adjusts the text window so that the
cursor is centered vertically in the window.
Outdent Moves the cursor left to the previous level of indentation.
Back
Workspace Moves the cursor to the previous (lower numbered) work-
space.
Next
Workspace Moves the cursor to the next workspace.
Ctrl Home Moves the cursor to the first line of the current file.
Ctrl End Moves the cursor one line past the end of the current file.
Ctrl PgDn When a search Pattern has been defined, moves the cursor to
the next occurrence of Pattern in the text.
Ctrl PgUp When a search Pattern has been defined, moves the cursor to
the previous occurrence of Pattern in the text.
Entering Text
~~~~~~~~~~~~~
To enter text into Ued, position the cursor where you want the text to
be added and then type. If you make a mistake use the Backspace or
Del key